﻿using System;
using System.Collections.Generic;
namespace GeneratorLib.DB.Schemas
{
    public interface ITableInfo
    {
        IConnection Connection { get; }
        string EntityListName { get; }
        string EntityName { get; }
        List<FieldInfo> Fields { get; }
        FieldInfo FindField(string fieldName);
        FieldInfo GetDisplayValueField();
        FieldInfo GetKeyField();
        bool IsBusinessTable { get; }
        bool IsMasterTable { get; }
        string ModelEditName { get; }
        string ModelEditRepositoryName { get; }
        string ModelListName { get; }
        string ModelListRepositoryName { get; }
        string ModelListSearchName { get; }
        string TableName { get; set; }
        string ViewEditName { get; }
        string ViewListName { get; }
    }
}
